package com.slw.caiji.dto;

import java.io.Serializable;
import java.util.Date;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * sys_template
 * @author 
 */
@Data
@ExcelIgnoreUnannotated
public class SysTemplate implements Serializable {
    /**
     * 编号
     */
    private String id;

    /**
     * 输入框
     */
    @ExcelProperty(value = "输入框", index = 0)
    private String input;

    /**
     * 密码
     */
    @ExcelProperty(value = "密码", index = 1)
    private String password;

    /**
     * 数字输入框
     */
    @ExcelProperty(value = "数字输入框", index = 2)
    private String numberInput;

    /**
     * 文本框
     */
    @ExcelProperty(value = "文本框", index = 3)
    private String textarea;

    /**
     * 树选择
     */
    @ExcelProperty(value = "树选择", index = 4)
    private String treeSelect;

    /**
     * 文件
     */
    private String file;

    /**
     * 字典下拉框
     */
    @ExcelProperty(value = "字典下拉框", index = 5)
    private String dictSelect;

    /**
     * 动态下拉框
     */
    @ExcelProperty(value = "动态下拉框", index = 6)
    private String trendsSelect;

    /**
     * 输入框tag
     */
    private String inputTag;

    /**
     * 复选框
     */
    private String checkbox;

    /**
     * 单选框
     */
    private String radio;

    /**
     * 自定义文件上传样式
     */
    private String customFile;

    /**
     * 其他文件
     */
    private String otherFile;

    /**
     * 位置
     */
    private String map;

    /**
     * 经度
     */
    private String longitude;

    /**
     * 纬度
     */
    private String latitude;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date datePicker;

    @JsonFormat(pattern = "yyyy-MM", timezone = "GMT+8")
    private Date monthPicker;

    private String yearPicker;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date startTime;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date endTime;

    private static final long serialVersionUID = 1L;
}